package o;

import android.content.Context;
import android.view.View;
import o.ckl.d;

public class ayo implements d {
    private Context ˋ;
    private int ˎ;
    private boolean ˏ;
    private final ayx ॱ;

    public static class e {
        private boolean ˊ;
        private Context ˋ;
        private int ॱ;

        public e(Context context, int i, boolean z) {
            this.ˋ = context;
            this.ॱ = i;
            this.ˊ = z;
        }

        public ayo ˎ() {
            return new ayo();
        }
    }

    private ayo(e eVar) {
        this.ॱ = new ayx(this) {
            final /* synthetic */ ayo ॱ;

            {
                this.ॱ = r1;
            }

            public void ˎ(View view) {
                if (this.ॱ.ˎ == 1) {
                    axb.ˎ(this.ॱ.ˋ, axg.ˏ().ˊ());
                } else if (this.ॱ.ˎ != 2) {
                } else {
                    if (!ays.ˎ()) {
                        axb.ˎ(this.ॱ.ˋ, axg.ˏ().ˎ());
                    } else if (this.ॱ.ˏ) {
                        axb.ˎ(this.ॱ.ˋ, axg.ˏ().ˏ());
                    } else {
                        axb.ˎ(this.ॱ.ˋ, axg.ˏ().ˎ());
                    }
                }
            }
        };
        this.ˋ = eVar.ˋ;
        this.ˎ = eVar.ॱ;
        this.ˏ = eVar.ˊ;
    }

    public void ˊ() {
        this.ॱ.ˋ(null);
    }
}
